package com.library.dcy.entity;

import java.util.Date;

/**
 * 借书实体类
 */
public class BorrowInfo {
    private String cardName;//读者名称
    private String bookName;//书籍名称
    private Date startTime;//借书时间
    private Integer day;//约定天数
    private String phone;//联系电话

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public BorrowInfo() {
    }

    public BorrowInfo(String cardName, String bookName, Date startTime, Integer day, String phone) {
        this.cardName = cardName;
        this.bookName = bookName;
        this.startTime = startTime;
        this.day = day;
        this.phone = phone;
    }
}
